package com.cutePet.pet.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.cutePet.pet.dao.StoreDao;
import com.cutePet.pet.domain.StoreDO;
import com.cutePet.pet.service.StoreService;



@Service
public class StoreServiceImpl implements StoreService {
	@Autowired
	private StoreDao storeDao;
	
	@Override
	public StoreDO get(Long storeId){
		return storeDao.get(storeId);
	}
	
	@Override
	public List<StoreDO> list(Map<String, Object> map){
		return storeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return storeDao.count(map);
	}
	
	@Override
	public int save(StoreDO store){
		return storeDao.save(store);
	}
	
	@Override
	public int update(StoreDO store){
		return storeDao.update(store);
	}
	
	@Override
	public int remove(Long storeId){
		return storeDao.remove(storeId);
	}
	
	@Override
	public int batchRemove(Long[] storeIds){
		return storeDao.batchRemove(storeIds);
	}
	
}
